setMapProjection

open fun setMapProjection(@NonNull() projection: Value): Expected<String, None>

Updates the active map projection. The function expects a collection of common and projection specific properties.Common properties shared by all map projections are:- "name" with possible values "mercator" or "globe".

Return

A string describing an error if the operation was not successful, expected with `void` value otherwise.

Parameters

projection

An object describing properties of the map projection.